package band.wukong.practice.springcloud.quickstart.qk10.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 运行参数:
 * java -jar qk-10-eureka-dist-server-0.0.1.jar -spring.profiles.active=peer1
 * java -jar qk-10-eureka-dist-server-0.0.1.jar -spring.profiles.active=peer2
 *
 * 注意：如果指定profile，就必须把profile的内容补全
 *
 * @author wukong(wukonggg@139.com)
 */
@EnableEurekaServer
@SpringBootApplication
public class Qk10EurekaDistServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(Qk10EurekaDistServerApplication.class, args);
    }
}
